<template>
	<view class="page">

		<view class="item1" v-for="(item,index)  in gonggao" :key="index">
			<view class="title">{{item['title']}}</view>
			<view class="con" v-html="item['content']"></view>
			<view class="data">
					<!-- <text>{{item['author']}}</text> -->
				<text>{{item['addtime']}}</text>
			
				
			</view>
		</view>
		
	</view>
</template>

<script>
	var _this;
	import { mapState } from 'vuex';
		export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			_this = this;
			var data = {
				token: uni.getStorageSync('token')
			};
			this.$store.dispatch("postnotice",data)
		},
		methods: {
			update(){
				uni.navigateTo({
					url: '../xiugaimima/index'
				});
			},
		},
		computed: mapState({
			 gonggao: 'gonggao'
		})
	};
</script>

<style lang="scss" scoped src="./index.scss"></style>
